import axios from "./index.js";
// 添加轮播图
export function addswipe(data) {
  return axios.post("/banner/add", data);
}
// 获取轮播图数据
export function getBanner() {
  return axios.get("/banner/list");
}
// 删除轮播图
export function deleteBanner(id) {
  return axios.get("/banner/delete", { params: { bannerid: id } });
}
